All Questions
4 questions
0votes
1answer
953views
Linear Regression line not showing in plot
It's a silly problem, I know, but it's getting my nerves. Everything seems fine, but I cannot get the line to show on the plot. I've put it in a public Google notebook, for your convenience. t ...
0votes
3answers
1kviews
Apply multivariable linear regression to a dataset in pandas with sklearn
I'm trying to predict the population for states and the country in 2050. My current dataset has values for each state from 1951,1961...2011 in the same table. Here is a sample view: ...
1vote
3answers
197views
Gradient decent in Python
I just finished working on my first machine learning algorithm i.e Linear regression. I want to reduce the rmse by optimising the model. I found out that gradient decent does the same job. But i dont ...
8votes
2answers
23kviews
Obtaining a confidence interval for the prediction of a linear regression
The data I am working with is being used to predict the duration of a trip between two points. There are about 100 different trips in the data and ~90k observations. I am using the standard pattern: ...